<template>
  <div>
    <div  style="padding: 20px;">
      <h3 style="margin-left: 20px">提货货品照片</h3>
      <div class="demo-image__error">
        <div class="block">
          <el-image style="width: 360px;height: 210px;margin-left: 300px;" :src="info.cargoPicture"></el-image>
        </div>
      </div>
      <h3 style="margin-left: 20px">提货凭证照片</h3>
      <div class="demo-image__error">
        <div class="block">
          <el-image style="width: 360px;height: 210px;margin-left: 300px;" :src="info.cargoPickUpPicture"></el-image>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import axios from "axios";

export default {
  data(){
    return{
      id : this.$route.query.id,
      info : {}
    }
  },
  created(){
    this.queryTransportPicture();
  },
  methods:{
    queryTransportPicture: async  function(){
      var rsp = await axios.post("/api/pd-workyc/pd-task-transport/queryTaskTransportById/"+this.id);
      // console.log(rsp.data)
      this.info = rsp.data;
    }
  }
}
</script>

<style scoped>

</style>
